home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 38 / Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso / -in_the_mag- / reader_requests / dice_v3.15 / lib / amigalib / easyreq.c < prev    next >
C/C++ Source or Header  |  1999-01-26  |  595b  |  30 lines

  1.  
  2. /*
  3.  *  EasyRequest(Window, easyStruct, IDCMP_ptr, ArgList)
  4.  *
  5.  *    (c)Copyright 1992-1997 Obvious Implementations Corp.  Redistribution and
  6.  *    use is allowed under the terms of the DICE-LICENSE FILE,
  7.  *    DICE-LICENSE.TXT.
  8.  *
  9.  */
  10.  
  11. #include <exec/types.h>
  12. #include <intuition/intuition.h>
  13. #include <clib/intuition_protos.h>
  14. #include <stdarg.h>
  15.  
  16. LONG
  17. EasyRequest(win, es, idcmp_ptr, ...)
  18. struct Window *win;
  19. struct EasyStruct *es;
  20. ULONG *idcmp_ptr;
  21. {
  22.    long  tmp;
  23.    va_list va;
  24.    va_start(va,idcmp_ptr);
  25.    tmp = EasyRequestArgs(win, es, idcmp_ptr, va);
  26.    va_end(va);
  27.    return(tmp);
  28. }
  29.  
  30.